package com.IntelligentCommunity.community.service;

import java.util.List;

import com.IntelligentCommunity.community.domain.DistrictCount;
import com.IntelligentCommunity.community.domain.RealDistrict;
import com.IntelligentCommunity.community.domain.RealSecurityFacilities;
import com.IntelligentCommunity.community.domain.RealSecurityFacilitiesType;

/**
 * 实有安防设施Service接口
 *
 * @author IntelligentCommunity
 * @date 2024-07-21
 */
public interface IRealSecurityFacilitiesService
{
    /**
     * 查询实有安防设施
     *
     * @param id 实有安防设施主键
     * @return 实有安防设施
     */
    public RealSecurityFacilities selectRealSecurityFacilitiesById(Long id);

    /**
     * 查询实有安防设施列表
     *
     * @param realSecurityFacilities 实有安防设施
     * @return 实有安防设施集合
     */
    public List<RealSecurityFacilities> selectRealSecurityFacilitiesList(RealSecurityFacilities realSecurityFacilities);

    /**
     * 新增实有安防设施
     *
     * @param realSecurityFacilities 实有安防设施
     * @return 结果
     */
    public int insertRealSecurityFacilities(RealSecurityFacilities realSecurityFacilities);

    /**
     * 修改实有安防设施
     *
     * @param realSecurityFacilities 实有安防设施
     * @return 结果
     */
    public int updateRealSecurityFacilities(RealSecurityFacilities realSecurityFacilities);

    /**
     * 批量删除实有安防设施
     *
     * @param ids 需要删除的实有安防设施主键集合
     * @return 结果
     */
    public int deleteRealSecurityFacilitiesByIds(Long[] ids);

    /**
     * 删除实有安防设施信息
     *
     * @param id 实有安防设施主键
     * @return 结果
     */
    public int deleteRealSecurityFacilitiesById(Long id);

    /**
     * 查询安防设施类型
     * @return
     */
    List<RealSecurityFacilitiesType> getSecurityFacilitiesType();

    /**
     * 根据id查询
     * @param id
     * @return
     */
    RealSecurityFacilities getSecurityFacilitiesInfoById(Long id);

    DistrictCount getTypeCount(Long id);

    List<RealSecurityFacilities> getGateByDictId(Long id);

    /**
     * 功能：查询设备下拉框
     * @return
     */
    List<RealSecurityFacilities> getSecurityFacilitiesCount();
}
